// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 导入ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// 导入font-awesome 文字 (导入就可以直接用了)
// 粒子特效
import VueParticles from 'vue-particles'
// 导入Echarts
import Echarts from 'echarts'
// axios
// import axios from 'axios'
import http from './http/http'
// 使用ElementUI
Vue.use(ElementUI)
// 使用粒子特效
Vue.use(VueParticles)
// Echarts
Vue.prototype.$echarts = Echarts
// Vue.prototype.$axios = axios
Vue.prototype.$axios = http
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
